#include "KeyFrameObj.h"
#include "animationCenter.h"
#include "MappingEngine.h"
#include <sstream>

KeyFrameObj::KeyFrameObj(){

}

KeyFrameObj::~KeyFrameObj(){
}

void KeyFrameObj::generateInterpolation(){
	if(this->_evt != NULL){
		this->_evt->generateInterpolation();
	}
}

void KeyFrameObj::restart(){
	generateInterpolation();
}

int KeyFrameObj::getLineNumber(){
	return this->_lineNum;
}

DIVA_VM* KeyFrameObj::getVM(){
	return this->_vm;
}

void KeyFrameObj::setChangeEvent(ChangeEvent* evt){
	this->_evt = evt;
}
